package main

import "fmt"

//string切片
func main() {
	str := "hello world!"
	sliStr := str[:]
	fmt.Printf("slistr 类型 %T\n", sliStr)

	arr1 := []rune(str)
	arr1[0] = 's'
	str = string(arr1)
	fmt.Println("转换后", str)
}
